@layout("/common/_container.html"){
<style>
	.gray-bg{background:#ffffff}
	.colLeft,.colRight{background:#ffffff}
	.wrapper{padding:0}
</style>
<div class="full-height-scroll">
	<div class="ibox">
		<div class="ibox-title">
			<h5>详细信息</h5>
			<div class="ibox-tools fr">
				<a class="" href="###" onclick="UserDetail.openChangeUser(${user.id})">
					<i class="fa icon-modify hand cblue tubiaozu" ></i>
				</a>
				<a class="" href="###" onclick="window.self.parent.Container.hideRight();"> <i class="icon-yhhghg tubiaozu cred " title="关闭侧边栏"></i></a>
			</div>
		</div>
		<div class="ibox-content">
			<div class="row">
				<div class="col-sm-12">
					<div class="ibox-title">
		                <span class="titleName ">账户状态</span>
		                <div class="ibox-tools fr">
							@if(user.status==1){
								<input name="状态" type="checkbox" onchange="UserDetail.switchChange(this,${user.id})" class="js-switch" id="status"    underline="false"   must="must" checked="checked" />
							@}else{
								<input name="状态" type="checkbox" onchange="UserDetail.switchChange(this,${user.id})" class="js-switch" id="status"    underline="false"   must="must"  />
							@}
		                </div>
		            </div>
				</div>
			</div>
			<div class="row mt20">
				<div style="width:170px;margin: 0 auto;position: relative">
					<img src="${ctxPath}/static/img/quan1.png" width="170px" style="position: relative;"/>
					<p style="position: absolute;top: 65px; text-align: center;width: 170px;font-size: 24px;">${user.name}</p>
				</div>
			</div>
			<div class="row mt20">
				<div class="col-xs-12 ">
					<p><strong>■&nbsp;电话</strong></p>
					<p><strong>${user.phone}</strong></p>
					<p><strong>■&nbsp;邮箱</strong></p>
					<p><strong>${user.email}</strong></p>
				</div>
			</div>
			<div class="row mt20">
				<div class="col-sm-12">
					<p class=""><strong>登录账号</strong></p>
					<p class="chui">${user.account}</p>
				</div>
			</div>
			<div class="row mt20">
				<div class="col-sm-12">
					<p class=""><strong>登录密码</strong></p>
					<p class="chui">${user.clearpwd}</p>
				</div>
			</div>

			<div class="row mt20">
				<div class="col-sm-12">
					<p class=""><strong>创建时间</strong></p>
					<p class="chui">${user.createtime,'yyyy年MM月dd日 HH:mm:ss'}</p>
				</div>
			</div>
			<div class="row mt20">
				<div class="col-sm-12">
					<p class=""><strong>最后登录时间</strong></p>
					<p class="chui">${lastLoginTime}</p>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
    $(function(){$(".full-height-scroll").slimScroll({height:"100%"})});
</script>
<script src="${ctxPath}/static/modular/system/user/user_detail.js"></script>
@}
